import java.util.Scanner;

public class Homework_605_9 {
	public static void main(String[] args) {
		// 输出倒等腰三角形，高度由用户输入。从下往上*的个数分别是1,3,5,...每次加两个。比如如下是高度为4的三角形
		Scanner input = new Scanner(System.in);
		System.out.println("请输出n:");
		int n = input.nextInt();
		for (int i = n; i >= 1; i--) {
			for (int k = i; k <= n; k++) {
				System.out.print(" ");
			}
			for (int l = 1; l < 2 * i - 2; l++) {
				System.out.print("*");
			}
			System.out.println("");
		}
	}
}
